Use test ([) instead of expr to compare integers.
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Sat, 3 Dec 2005 23:49:51 +0000 (00:49 +0100)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Sat, 3 Dec 2005 23:49:51 +0000 (00:49 +0100)
commitf7ba08cc97cf599f6f2afe50ec9e619a8cccea46
tree1d564ad1a261d707555072013c46fd922823d0e1
parent1e56ea4a43c013b779b7a7f0d8e214c8e2801d07
Use test ([) instead of expr to compare integers.
expr $int1 '<' $int2 seems to be broken on some shells.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
tools/examples/xen-hotplug-common.sh